package DesignPattern.Builder.FactoryPattern.StaticFactory;

public class CoffeeStore {
    public Coffee orderCoffee(String type) {
        // 无需创建工厂对象
        Coffee coffee = StaticCoffeeFactory.CreateCoffee(type);
        coffee.addMilk();
        coffee.addSugar();
        return coffee;
    }
}
